package com.hm.base.service;

import java.util.List;

import com.hm.base.su.BaseConfig;
import com.hm.base.vo.AsynDownloadVo;
import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageParam;

/**
 * @author shishun.wang
 * @date 下午2:55:52 2017年8月21日
 * @version 1.0
 * @describe
 */
public interface AsynDownloadService {

	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/base/AsynDownloadService/"
			+ BaseConfig.HttpInvokerEndpoing.VERSION;

	public PageInfo<AsynDownloadVo> query(PageParam pageParam, String name);

	public void addAsynDownloadTask(AsynDownloadVo asynDownloadVo);

	public void updateAsynDownloadTask(AsynDownloadVo vo);

	public void deleteAsynDownloadTask(List<Long> asynDownloadIds);

	public AsynDownloadVo getAsynDownload(Long asynDownloadId);

	public AsynDownloadVo getAsynDownloadByHashCode(Long createUser, String hashCode);
}
